home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / GNU / a_emacssrc.lha / emacs-18.58 / src / getpagesize.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-26  |  459 b   |  30 lines

  1. #ifdef BSD
  2. #ifndef BSD4_1
  3. #define HAVE_GETPAGESIZE
  4. #endif
  5. #endif
  6.  
  7. #ifndef HAVE_GETPAGESIZE
  8.  
  9. #ifdef VMS
  10. #include "param.h"
  11. #else
  12. #include <sys/param.h>
  13. #endif
  14.  
  15. #ifdef EXEC_PAGESIZE
  16. #define getpagesize() EXEC_PAGESIZE
  17. #else
  18. #ifdef NBPG
  19. #define getpagesize() NBPG * CLSIZE
  20. #ifndef CLSIZE
  21. #define CLSIZE 1
  22. #endif /* no CLSIZE */
  23. #else /* no NBPG */
  24. #define getpagesize() NBPC
  25. #endif /* no NBPG */
  26. #endif /* no EXEC_PAGESIZE */
  27.  
  28. #endif /* not HAVE_GETPAGESIZE */
  29.  
  30.